<?php
/**
 * @author Radovan Dvorsky
 * @version 20102703
 */
require_once ('library/My/Form/AjaxForm.php');

class Form_Result_SetThesisMark extends My_Form_AjaxForm {
	
	private $_marks = array('A'=>'A','B'=>'B','C'=>'C','D'=>'D','E'=>'E','F'=>'F');
	
	public function __construct($jqueryParams,$options = null) {
		parent::__construct ($options);
				
		$this->setJqueryParams($jqueryParams);		
		
		
		$select = new Zend_Form_Element_Select('markThesis');
		$select->addMultiOption('-','Hodnotenie:')
		->addMultiOptions($this->_marks)
		->setDecorators(array('ViewHelper'));
		
		$this->addAjaxableElements(array($select));
		$this->setSender($select,'onchange');
		
		$this->addElements(array($select));
	}	
}

?>